﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Rss_1._1._0.Model
{
    public class Channel
    {
        [XmlElement("title")]
        public string Title { get; set; }
        [XmlElement("desrciption")]
        public string Desrciption { get; set; }
        [XmlElement("item")]
        public List<NewsItem> NewsItems { get; set; }
        public Channel()
        {

            this.NewsItems = new List<NewsItem>();
        }
    }
}
